package com.ruiysoft.service.feight;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiysoft.entity.feight.Freight;

import javax.validation.Valid;
import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liyahui
 * @since 2018-11-10
 */
public interface IFreightService extends IService<Freight> {

    Boolean saveFreight(@Valid Freight freight) throws Exception;

    List<Freight> freightList(Long shopId,Long freiguhtId, String freightName, String adcode);

    Boolean updateFreight(@Valid Freight freight) throws Exception;


}
